package com.rtx.edi.system.login.service;

import com.rtx.model.po.entity.system.User;

public interface AuthUserServices {

    /**
     * 按用户名查询用户
     *
     * @param username
     * @return
     * @throws Exception
     */
    User queryUserByUsername(String username);

    /**
     * 更新上次登录日期
     *
     * @param user
     * @throws Exception
     */
    public void updateLastLoginDate(User user) throws Exception;
}
